/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.company.entity;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 管理上报种子企业Entity
 * @author 王虎
 * @version 2017-03-10
 */
public class TpCompany extends DataEntity<TpCompany> {
	
	private static final long serialVersionUID = 1L;
	private String companyName;		// 公司名称
	private String address;		// 公司地址
	
	public TpCompany() {
		super();
	}

	public TpCompany(String id){
		super(id);
	}

	@Length(min=0, max=30, message="公司名称长度必须介于 0 和 30 之间")
	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}
	
	@Length(min=0, max=30, message="公司地址长度必须介于 0 和 30 之间")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}
	
}